export const isAuthenticated = () => {
    const token = localStorage.getItem('jwtToken');
    return !!token; // 如果有令牌，则认为已认证
};